'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 新手引导
 * @author sundbcn@gmail.com (sun debing)
 */

var modelUtil = require('../util/modelUtil');
var mongoConnector = require('../libs/mongodb/mongoConnector');
/* jshint unused:false */
var guideSchema = require('../schemas/guideSchema');
var Guide = mongoConnector().model('Guide');

/**
 * 根据role_id获取新手引导
 * @return {[type]} [description]
 */
module.exports.getByRoleId = function (role_id, cb) {
    modelUtil.getByRoleId(Guide, role_id, cb);
};
